<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var ar=new Array(5);
			alert(ar.length);
			ar[0]="张磊";
			ar[1]="吴琼";
			ar[20]="夏晓芳";//???
			ar.unshift("朱峰");
			alert(ar[0]);
			alert(ar.length);//? 21
			alert(ar.join("%"));
			ar.sort();
			alert(ar.join("%"));
			ar.reverse();
			alert(ar.join("%"));
			alert(">>>>>>>>>>>>>>>>>>");
			ar["clsname"]="koolwe tech";
			ar["num"]=29;
			ar["ceo"]="孔梅";//属性
			alert("现在长度是："+ar.length);
			alert(ar["ceo"]);
			
		</script>
	</head>
	<body>
	</body>
</html>
